import resolvePlugin from '@rollup/plugin-node-resolve'
import commonjsPlugin from '@rollup/plugin-commonjs'

export default [{
    input: 'src/scripts/content.js',
    output: {
        file: 'dist/content.js',
        format: 'iife',
        sourcemap: true,
    },
    plugins: [resolvePlugin({
        preferBuiltins: false,
    }), commonjsPlugin()],
}]